import { Request } from '@nestjs/common';

export interface JwtPayload {
  id: string;
  username: string;
}

export interface RequestWithUser extends Request {
  user: JwtPayload;
}
